<?php include './application/views/common/zhs_header.php';?>
<?php include './application/views/common/zhs_usercenter_acnt.php';?>
<div class="inv_box w">
<?php include './application/views/common/zhs_usercenter_left.php';?>
  <div class="membd_right">
    <h3 class="membdrg_tit"><a class="zdbtn_1" href="/borrowauto/add_view">添加自动投标</a>自动投标规则表</h3>
    <div class="memzd_bd">
     <table class="membd_tab">
      <thead>
        <tr>
          <th width="64" height="38">序号</th>
          <th width="48">状态</th>
          <th width="108">单笔投标额度</th>
          <th width="75">还款方式 </th>
          <th width="75">标的期限 </th>
          <th width="75">保留金额</th>
          <th width="75">利息范围</th>
          <th width="107">起始时间</th>
          <th width="107">截止时间</th>
          <th width="91">操作</th>
        </tr>
      </thead>
      <tbody>
          <?php $i=1; foreach($borrow_auto_list as $auto_list){?>
        <tr>
          <td width="64" height="44"><a href="#"><?php echo($i);?></a></td>
          <td><?php echo $auto_list['fstatus']==1?"启用":"停用";?></td>
			<td><?php echo $auto_list['tender_account_min'].'-'.$auto_list['tender_account_max'];?></td>
			<td><?php if($auto_list['borrow_style_status'] == 1){echo $borrow_style[$auto_list['borrow_style']];}else echo "不限制"; ?></td>
			<td><?php if($auto_list['timelimit_status'] == 1){echo $auto_list['timelimit_month_first'].'-'.$auto_list['timelimit_month_last'].'个月';}else echo "不限制";?></td>
			<td><?php if($auto_list['retain_money_status'] == 1){echo $auto_list['retain_money'];}else{echo "不限制";}?></td>
			<td><?php if($auto_list['apr_status'] == 1){echo $auto_list['apr_first'].'-'.$auto_list['apr_last'].'%';}else{echo "不限制";}?></td>
			<td><?php echo date('Y-m-d',$auto_list['valid_start_time']); ?></td>
			<td><?php echo date('Y-m-d',$auto_list['valid_end_time']); ?></td>
			<td><a href="/borrowauto/edit_view/<?php echo $auto_list['id'];?>.html">修改</a>
    		<a href="/borrowauto/remove/<?php echo $auto_list['id'];?>.html">删除</a></td>
        </tr>
        <?php $i++; }?>
      </tbody>
    </table>
    <span class="zdtext">您最多可以创建 <?php echo 4-$i;?> 条自动投标规则，当前已创建 <?php echo $i-1;?> 条</span>
    </div>
    <h3 class="memzd_title1">自动投标规则说明:</h3>
    <h4 class="mebzd_h4">1. 设置自动投标可以实现自动投资贷获取收益。您可以对每个自动投标规则设置金额、期限、标种、利率等条件，符合条件才会触发投标行为。<br>
2. 如果自动投标规则100天未触发，系统将自动删除该条规则。<br>
3. 每个借款标发出后，将根据所设置条件进行筛选，符合条件且账户可用金额超过该借款标最低投标额的自动投标规则将根据VIP等级和排名的前后顺序依次投标。<br>
4. 自动投标触发后，被触发规则的排名将自动排到队尾，未投到标的规则排名自动前进相应位数。只要您未能投到标，排名将始终保持前进。</h4>
   
  </div>
</div> 
<?php include './application/views/common/zhs_footer.php';?>
<?php include './application/views/common/zhs_right.php';?>
</body>
</html>
